package com.作业.Day8;


import org.apache.log4j.Logger;
import org.apache.log4j.chainsaw.Main;

import java.util.Scanner;

public class Homework3 {

    private static Logger log = Logger.getLogger(Main.class.getName());
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        log.debug("请输入被除数："+i);

        log.info("请输入除数0"+a);
        log.warn("/ by zero");
        log.error("输入被除数："+b);
        log.fatal("输入除数："+c);

    }
}
